package com.coderman.basketball.statistics.dto.enums;

import lombok.Getter;

/**
 * Description:
 * date: 2021/5/13
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 * 球员级别的数据项统计枚举
 */
@Getter
public enum  PlayerStatisticsEnum {

    THREE_POINT_PERCENT("three_point_percent","三分投篮命中率"),
    THREE_POINT_SUCCESS("three_point_success","三分投篮命中数"),
    THREE_POINT_COUNT("three_point_count","三分投篮数"),

    TWO_POINT_PERCENT("two_point_percent","两分投篮命中率"),
    TWO_POINT_COUNT("two_point_count","两分投篮数"),
    TWO_POINT_SUCCESS("two_point_success","两分投篮命中数"),

    PENALTY_PERCENT("penalty_percent","罚球命中率"),
    PENALTY_COUNT("penalty_count","罚球数"),
    PENALTY_SUCCESS("penalty_success","罚球命中数"),


    SCORE("score","分数"),
    FOUL("foul","犯规数"),
    CAP("cap","盖帽数"),
    HELP("help","助攻数"),
    ON_TIME("ontime","上场时间-分钟:秒"),
    FAULT("fault","失误数"),
    REBOUNDS("rebounds","篮板数")

    ;

    /**
     * 事件编码
     */
    private String code;
    /**
     * 事件描述
     */
    private String desc;
    PlayerStatisticsEnum(String code,String desc){
        this.code = code;
        this.desc = desc;
    }
}
